<?php

/**
 * systemParameter actions.
 *
 * @package    WacStorehouse
 * @subpackage systemParameter
 * @author     JianBinBi <prince.bi@gmail.com>
 * @version    SVN: $Id: actions.class.php 12479 2008-10-31 10:54:40Z fabien $
 */
class systemParameterActions extends WacCommonActions
{
  /*
   * override filter list
   */
  public function filterList($listObjs)
  {
      $filterArr = array();
      if(count($listObjs) > 0)
      {
          foreach($listObjs as $listObj)
          {
              $tmpArr = $listObj->toArray();
              $tmpArr['type'] = WacParameterType::getCaptionById($tmpArr['type']);

              $filterArr[] = $tmpArr;
          }
      }

      return $filterArr;
  }
}